package com.medishare.fragment;




import com.medishare.R;


import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

public class FragmentHealthClass extends Fragment{

	private Activity mainActivity;
    public final static String  TAG = FragmentHealthClass.class.getSimpleName();
    public final static boolean DEBUG = true;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.fragment_health_class, null);
		WebView webView = (WebView) view.findViewById(R.id.webView);
		webView.loadUrl("file:///android_asset/knowl.html");
		webView.setHorizontalScrollBarEnabled(false);
		return view;
	}


	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public void onAttach(Activity activity) {
		super.onAttach(activity);
		mainActivity =  activity;
		
	}
    
	

    
    
}
